package com.qms.app.dao;

import com.qms.app.bean.Logs;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LogsDao {
    int save(Logs logs);

    List<Logs>list(@Param("page") Integer page, @Param("rows") Integer rows,
                   @Param("opername") String opername);

    int count(@Param("opername") String opername);

    List<Logs> countLogsTimes();
}
